package com.laboratory.stomplearning.message;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ChatMessage {

    private Type type; // 消息类型

    private String roomId; // 房间ID

    private String from; // 发送者

    private String to; // 接收者

    private String content; // 消息内容

    private Long timestamp; // 时间戳

}
